package com.xjscrm.console.chat.session;

import io.netty.channel.Channel;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author mingyang.chen create in 2024/3/11 18:13
 */
public class StaffSessionManager {

    private static final Map<Long, Channel> staffSessionCache = new ConcurrentHashMap<>(256);

    public static void online(Channel channel, Long staffId) {

        staffSessionCache.put(staffId, channel);
    }
}
